class comp_key(object):
    # 竞争性关键字的值
    # comp_k = ''
    # 种子关键字
    # seed_word = ''
    # 中介关键字，使用字典形式保存，键保存中介关键字的，值表示中介关键字的影响权重
    # mid_word = []
    # mid_word = {}
    # 每一个中介关键字的竞争度，键保存中介关键字的，值表示每一个中介关键字的竞争度

    # comp_mid = {}
    # mid_word = ''
    # comp_word = ''
    # compPower = 0

    def __init__(self, seed_word, comp_word):
        # 种子关键字
        self.seed_word = seed_word
        # 竞争性关键字
        self.comp_k = comp_word
        # 中介关键字的权重
        self.mid_word = {}
        # 每一个中介关键字的竞争度
        self.comp_mid = {}
        # 竞争度
        self.comp = 0
